#!/usr/bin/env python3
# -*- coding: utf-8 -*-

Import('env')
env = env.Clone()

import glob

# 查找所有测试源文件
test_sources = env.GlobSources('*.cpp')
# 创建IPC服务器测试可执行程序
env.AddExecutable(
    name='ipc_server_test',
    sources=test_sources,
    static_libs=['msghandler', 'protobuf-c', 'gtest', "gtest_main"],
    shared_libs=['pthread', 'stdc++'],
)